From: Alessandro Bono Date: Fri, 6 Sep 2024 08:47:25 +0000 (+0200) Subject: environment: Adjust optional delay parameter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~204^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a52a931fb1efb87b4902b4f770345fb0e34c8161;p=gnome-shell.git environment: Adjust optional delay parameter All timing parameters should take the `slow-down-factor` and `enable-animations` settings into account, but the delay parameter of property/adjustment animations was forgotten. Part-of: --- diff --git a/js/ui/environment.js b/js/ui/environment.js index 784a45271..ccad8c7aa 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -174,6 +174,9 @@ function _easeActorProperty(actor, propName, target, params) { params.duration = adjustAnimationTime(params.duration); let duration = Math.floor(params.duration || 0); + if (params.delay) + params.delay = adjustAnimationTime(params.delay); + const repeatCount = params.repeatCount; delete params.repeatCount;